//==================
// Cvars in JediMod
//==================

All added cvars start with mod_ so you can do cvarlist mod_ to see them all.

Note: The first number listed under a variable is the default value for that variable.

If your saber color reverts back to a default blueish purpleish color everytime the game restarts just delete the 
file autoexec.cfg in your JediMod directory

//===================
// Version 1.2 cvars
//===================

mod_infotime
-"500" This is a wait period in milliseconds to protect from people changeing models/extended saber/dualsaber rapidly.
-Increase for a longer wait period.  Decrease for a shorter waitperiod.  If 0 then there is no wait period.

mod_cheatprotection
-"50" You can not change models if you are this close to another person. 50 is about 4 feet in the game.  
-Increase to expand the no model change radius.  Decrease to allow players to change models when they are close.

mod_boxing
-"0" Disable
-"1" You can use the /punch emote and punch people.

mod_duelshields
-"0" Get 0 shields after a duel.
-Any other number, Get that much shields after a duel. (I like 25 since thats what players start with)

mod_pushall
-"1" Items can be pushed like in single player.
-"0" Disable

mod_clientscale
-"0" Disable 
-"1" Clients can type /size somenumber to change their size. (ex. /size 0.5 makes you the size 0.5)

mod_maxsize
-"1.5" Default max size, if a player does /size 2.3 their size will only change to 1.5 because of the maximum.
-Any other number changes the maximum size a player can become through the /size command.

mod_minsize
-"0.6" Default min size, if a player does /size 0.2 their size will only change to 0.6 because of the minimum.
-Any other number changes the minimum size a player can become through the /size command.

mod_grapple
-"1" Grappleing hook is useable only by mercs and only in Jedi Vs. Merc mode. (+use to activate hook)
-"2" Grappleing hook is useable by all players in all game modes. (+use to activate hook, default for +use is the e key)
-"0" Grappleing hook is not useable.

/mod_timescale
-"1.0" This isn't really a variable, its actually a command that changes the timescale variable so that you dont have to
       have cheats activated to change the timescale. 
-Any other number, change the timescale.  0.4 is good for slow mo fights.

//===================
// Version 1.1 cvars
//===================

mod_skillMode
-"1" Damage will be increased or decreased depending on which region of the body was hit.
     A hit to the head does 2x damage while a hit to the legs does 0.9x damage.
-"0" Disable

mod_allStances
-"0" Disable
-"1" All stances can be used with dual sabers and the dual bladed saber.

mod_nerfDualBlade
"1" Players are slowed down when attacking with the double bladed saber.
    This is done to make the game more balanced.
"0" Disable

mod_hilts 
-"1" Custom hilts may be used.
-"0" Disable

//===================
// Version 1.0 cvars
//===================

mod_nerfbs
-"2" Backstab damage is like in 1.04
-"1" Backstab damage is mid way between 1.03 and 1.04
-"0" Backstab damage is like in 1.03
-"3" Backstab damage is set to the backstab damage variables. (mod_lbsmin etc)

mod_blockThrow
-"1" Saber throws can be blocked like in single player.
-"0" Disable

mod_scaleModels	
-"1" Models will be scaled by the scale factor set in tckmodel.cfg
-"0" Disable

mod_scaleDamage
-"1" Damage will be scaled based on the attacker's saber size and the defender's model size.
-"0" Disable

mod_scaleKicks	
-"1" Kick damage and knock back will be scaled based on the attackers model size and the defenders model size.
-"0" Disable

mod_dualbsScale
-"1.0" Scales dualsaber style's backstab damage by this factor.
-Any other number changes the scale factor.

mod_gib
-"0" Disable
-"1" As far as I can tell if this is 1 then people sometimes disintegrate when you kill them.

mod_blockScale
"1.0" The amount of blocking is scaled by this factor.
-Higher numbers mean less blocking, 0 means no auto blocking.

mod_funSize
-if mod_funMode is 1 this sets all players to the same size eg. mod_funSize 0.2 for small models.

mod_funKick
-if mod_funMode is 1 then this scales the kick dammage and knock back factor 1.0 is normal.

mod_funMode
-"0" Disable
-"1" funKick and funSize will now work.

mod_nerfspin
-"1" Disables spinning during backstabs.
-"0" Enables spinning.

mod_nerflunge
-"1" Disables lungeing while in the air like in 1.04
-"0" Enables air lunge like in 1.04

mod_debugcheats
-"1" Can use cheats like /g2animent to spawn stormtroopers. First you must use the cheataccess
     command with your client number to give yourself access to these cheats. So if you were the
     server in non dedicated mode you would do /cheatacces 0 in console to give client 0 (you)
     access to the cheats. You could then do /g2animent to spawn a stormtrooper  There is also
     /g2platoon to spawn a group of stormtroopers.
-"0" Disable (no real reason to have it disabled since you need cheataccess to do anything with it)

mod_dualblade
-"1" Allow players to use a dualbladed saber. (You can bind your key to "dualblade" or goto the controls
     setup screen) 
-"2" Players can have two dualbladed sabers at once. (Providing dualsaber is on)
-"0" No dual bladed sabers.

mod_dualsaber
-"1" Allows players to use two sabers at once. (You can bind your key to "dualsaber" or goto the controls
     setup screen) 
-"0" Disable

mod_emotes
-"1" Emotes may be used.
-"2" The sleep emote may also be used. (Makes you look sortof dead though)
-"0" No emotes.

mod_tag
-kicktag, once this is set to 1 if someone is kicked then he becomes "it" and he has to tag someone
 else by kicking them. Set this to 0 and then kick one last person and the game will end and show
 who was tagged the most and the least.

mod_tagBacks
-"0" You can't tag the person who taged you.
-"1" You can tag someone right after they tag you.

mod_funWallRun
-"0" Does even less.
-"1" Does nothing but you need funMode on to use it.

mod_multiduels
-"1" Multiple duels can happen at once.
-"0" Disable

mod_cangod
-"1" Players are allowed to use god mode when cheats are enabled.
-"0" Players can't use god mode when cheats are enabled.

mod_lbsmin
-The minimum dammage that a light style backstab does.

mod_lbsmax
-The maximum dammage that a light style backstab does.

mod_mbsmin
-The minimum dammage that a medium style backstab does.

mod_mbsmax
-The maximum dammage that a medium style backstab does.

mod_hbsmin
-The minimum dammage that a heavy style backstab does.

mod_hbsmax
-The maximum dammage that a heavy style backstab does.

mod_tckcolors
-"1" Tchouky's rgb saber colors are enabled.
-"0" Disable

mod_scaleSabers
-"1" Sabers are scaled in the same way that models are.
-"0" Sabers are not scaled.

g_enableextended 
-"0" Disable
-"1" Clients will be able to have an extended saber. (You can bind your key to tck_dualphase or goto the controls
     setup screen) 

bot_honorableduelacceptance 
-"1" Cheat protection have been removed. If you have you saber off and chalenge a bot in a saber duel he will accept.
-"0" Disable

//======================
// Clientside variables
//======================

tck_saber "1" or "0"
-If 0 then the sabers will not have custom colors.

tck_dualcolor "1" or "0"
-If 1 then you will have 2 colors one for the normal saber and one for when it s extended.
 The second color is also used for the second blade on a double saber.

tck_red1	1->255
tck_green1	1->255
tck_blue1	1->255
-These 3 cvar will define the color n1 of your saber.

tck_red2	1->255
tck_green2	1->255
tck_blue2	1->255
-These 3 cvar will define the color n2 of your saber.

cmod_multipletaunts 
-"1" You will hear multiple taunt sounds.
-"0" Disable

cmod_teamrgb
-"0" Disable
-"1" You will see rgb colored sabers in team games.

//==========
// Commands
//==========

ban <playername> -Bans the player with this name.
clientban <clientNumber> -Bans the player with this client number. Use "status" to find their client number.

How to use the /g2animent and /g2platoon commands.
g2animent takes 7 arguments: type, alignment, weapon, model, sounds, health, and owner number.

Here is an example that spawns an ent that looks and sounds like a rodian, has 100 health, is friendly, and has a blaster.
/g2animent 3 2 4 models/players/rodian/model.glm sound/chars/rodian/misc 100 0

Type: 
there are 4 types of animents.  0 spawns a storm trooper, 1 spawns a rodian, 2 spawns a jan, and 3 spawns a custom one.
the rest of the arguments only matter if this is 3, otherwise it sets the model and gun and stuff on its own.

Alignment:
1 = Bad
2 = Good
8 = Creates one that stands still and only attacks bots unless attacked.
9 = Creates one that attacks everything except its owner. (-owner set by owner num, the last argument)

Weapon:
0 = None
1 = Stun Batton
2 = Saber (Gives them a saber but they cant use it at all)
3 = Bryar Pistol
... It keeps going in order 13 is the last one.
13 = Det Pack (They dont know how to use it)

Model:
The path of the player model.
Dont put in a bad model or it gets mad.

Sounds:
Path to the sounds for that model.

Health:
The health of the animent

Owner:
The owner of the animent. If alignment is 9 then it wont attack its owner.

/g2platoon
This command is just like /g2animent except it doesn't have a health or owner argument.
It spawns a group of ents.

//=========
// Tchouky      
//=========

All of the model scaling code and saber color code was done by Tchouky.
I just fixed some stuff and added a few of my own modifications like being 
able to sidekick off walls when your not on the ground. The saber scaling 
code also would have been done by Tchouky if he hadn't left for a month
but he did so I did it instead.
